package com.sq.websocket.dto;
public class MessageDto {
    private String destination;
    private String payload;

    @Override
    public String toString() {
        return "MessageDto{" +
                "destination='" + destination + '\'' +
                ", payload='" + payload + '\'' +
                '}';
    }

    // Getters and Setters
    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }
}
